package io.geekidea.boot.materials.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.boot.materials.dto.MaterialsExcel;
import io.geekidea.boot.materials.entity.Materials;
import io.geekidea.boot.materials.query.MaterialsQuery;
import io.geekidea.boot.warehousentry.query.WarehousentryQuery;

import java.util.List;

public interface MaterialsService extends IService<Materials> {

    Page<Materials> getMaterialsPageList(Page<Materials> page, MaterialsQuery materialsQuery);

    int delById(Integer id);

    int delByNumbers(String numbers);

    List<Materials> getMaterialsList(Materials materials);

    List<MaterialsExcel> getDownloadList(MaterialsQuery materialsQuery);

    Materials getMaterialsId(String id);

}